
package com.example.demo.day0220;

public class WaterSource {
 private String s;
 public WaterSource(){
     System.out.println("WaterSource");
     s="Constructed";
 }
 public String toString(){return s;}//参数转化为字符串的方法
}


